package test.com.newproject.moudle.main.homepage;

import java.util.List;

import test.com.newproject.framework.mvp.IBaseView;
import test.com.newproject.model.beans.DataBean;

/**
 * 主界面契约类
 * <p>
 * Created by zjh on 2017/8/14.
 */
public interface IHomepageContract {
    interface IView extends IBaseView {
        void refreshData(List<DataBean> result);

        void requestFailed(String err);
    }

    interface IPresenter {
        void requestData();
    }
}
